Fix the recently-introduced failure to preserve uuid across a guest reboot.
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 20 Oct 2005 11:34:50 +0000 (12:34 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 20 Oct 2005 11:34:50 +0000 (12:34 +0100)
commitdd319571b516900ccc1db056976572837aa55f3c
treeeffea2db181fee9b08731e6ed0d67ff14845e7cc
parente68e8c51d2eb0a5dcab076bc3a74271c4da3e73f
Fix the recently-introduced failure to preserve uuid across a guest reboot.
Store the uuid in string form inside XendDomainInfo, to aid this.

Add restart-squelching logic to ensure that runaway domains to restart
indefinitely.  The logic here could be cleverer, say including a backoff for
retrying, in case a network block device has gone away, but for now this will
do to stop the pathological behaviour.  Fixes bug #275.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendDomainInfo.py